# \[Bug\] JS to Blocks repositions Function code blocks

**URL:** https://forum.makecode.com/t/bug-js-to-blocks-repositions-function-code-blocks/2569
**Category:** Help
**Created:** [June 29, 2020, 12:41am UTC](https://forum.makecode.com/t/bug-js-to-blocks-repositions-function-code-blocks/2569 "2020-06-29T00:41:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![slimehunter](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@slimehunter](https://forum.makecode.com/u/slimehunter)
#### Post date: [June 29, 2020, 12:41am UTC](https://forum.makecode.com/t/bug-js-to-blocks-repositions-function-code-blocks/2569/1 "2020-06-29T00:41:36Z")

</div>

Hi,

I’ve noticed a minor bug where if you go from the Blocks format to JS and back to Blocks, the positions of my Function blocks will be placed overlapping the “on start” block. Is this being tracked? Sorry if this is old.

Example Screenshot:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d743adcc14f7b382da1190bc8ebaea09264c7dbb.png)

Thank you,  
-slime

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [March 15, 2021, 5:58pm UTC](https://forum.makecode.com/t/bug-js-to-blocks-repositions-function-code-blocks/2569/2 "2021-03-15T17:58:15Z")

</div>

@richard, this keeps happening to me.
