# Link URL leaves unnecessary wrapper \<div\>

**URL:** <https://forum.builder.io/t/link-url-leaves-unnecessary-wrapper-div/413>\
**Category:** Bugs\
**Created:** [January 20, 2021, 11:13pm UTC](https://forum.builder.io/t/link-url-leaves-unnecessary-wrapper-div/413 "2021-01-20T23:13:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aubergine](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/aubergine/32/123_2.png) [@aubergine](https://forum.builder.io/u/aubergine)\
**Post date:** [January 20, 2021, 11:13pm UTC](https://forum.builder.io/t/link-url-leaves-unnecessary-wrapper-div/413/1 "2021-01-20T23:13:28Z")

</div>

Hi, I found that editing Link URL in custom component’s options (probably also in built-in), and then emptying that field, leaves redundant `div.builder-blocks` node.

Steps to reproduce:

- type something in that field ![image](https://us1.discourse-cdn.com/flex020/uploads/builder/original/1X/221938717bc7798200ebbec21dafdf7639845d53.png)
- component is wrapped with `<a href="something">` - good
- clear that field
- `<a>` changes to `<div>` 👉 should remove `<a>`
- component remains wrapped with `<div>`
- not good - breaks css because of redundant `div` tag

---

<div class="post-metadata">

**Author:** ![kara](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/kara/32/80_2.png) [@kara](https://forum.builder.io/u/kara)\
**Post date:** [January 26, 2021, 4:11am UTC](https://forum.builder.io/t/link-url-leaves-unnecessary-wrapper-div/413/2 "2021-01-26T04:11:50Z")

</div>

Thanks for reaching out! I’m going to pass this information to our dev team to investigate the issue.
