<p>I have had this problem in the past, and have not been able to find a solution, other than program it with the software meant for programming EV3s, as it is backward compatible (except that Bluetooth doesn't work, so that may be a problem as your photo shows Bluetooth blocks). Hope this helps!</p>

CC BY-SA 4.0
2018-08-17T17:26:33.370Z
2018-08-17T17:26:33.370Z
Banana999
<p>Unfortunately, it's difficult/impossible to fix your program once the bug has occurred. You'll have to recreate the program from scratch (i.e. delete the file and start over).  </p>

<p>There are a few ways to avoid this going forward:  </p>

<ul>
<li>Save often. If the bug happens, DON'T overwrite your file! Revert to the previous save.</li>
<li>Don't resize the white LEGO liftarm thing manually unless you have to. Always let the software decide the spacing between your blocks.  </li>
<li>Make sure you're using the latest version of the software (NXT-G 2.0). Download it <a href="https://www.lego.com/en-us/mindstorms/downloads/nxt-software-download" rel="nofollow noreferrer">here</a>.</li>
</ul>

CC BY-SA 4.0
2018-09-17T14:31:41.050Z
2018-12-21T12:36:07.113Z
2018-12-21T12:36:07.113Z
MindS1
<p>I am working on a Mindstorms NXT project. Due to annoying bug (cannot find terminal hotpoint thingy) I can't delete a specific block, and if I do so, part of the program will be cut off from the main sequence. I deleted that block and the bug happened, and not knowing what happened, I saved it. I reopened it to find out that part of the program was cut from the main sequence and I tried searching the whole empty space but wasn't able to find it. </p>

<p><a href="https://i.sstatic.net/asZnA.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/asZnA.png" alt="enter image description here"></a></p>

<p>Is there any way of retrieving the lost blocks (other than searching) since the file size is still the same, meaning the lost blocks are just lying around somewhere.</p>

<mindstorms><nxt><programming>
Is there any way to find misplaced bricks in LEGO NXT Programming?
Stick
# Is there any way to find misplaced bricks in LEGO NXT Programming?

(Asked by: username_0 on 2015-10-20)

I am working on a Mindstorms NXT project. Due to annoying bug (cannot find terminal hotpoint thingy) I can't delete a specific block, and if I do so, part of the program will be cut off from the main sequence. I deleted that block and the bug happened, and not knowing what happened, I saved it. I reopened it to find out that part of the program was cut from the main sequence and I tried searching the whole empty space but wasn't able to find it.

[![enter image description here](https://i.sstatic.net/asZnA.png)](https://i.sstatic.net/asZnA.png)

Is there any way of retrieving the lost blocks (other than searching) since the file size is still the same, meaning the lost blocks are just lying around somewhere.

**Tags:** mindstorms, nxt, programming


---

## 2 answers

### Answer by username_1 on 2018-08-17. Score: 2

I have had this problem in the past, and have not been able to find a solution, other than program it with the software meant for programming EV3s, as it is backward compatible (except that Bluetooth doesn't work, so that may be a problem as your photo shows Bluetooth blocks). Hope this helps!


---

### Answer by username_2 on 2018-09-17. Score: 1

Unfortunately, it's difficult/impossible to fix your program once the bug has occurred. You'll have to recreate the program from scratch (i.e. delete the file and start over).

There are a few ways to avoid this going forward:

* Save often. If the bug happens, DON'T overwrite your file! Revert to the previous save.
* Don't resize the white LEGO liftarm thing manually unless you have to. Always let the software decide the spacing between your blocks.
* Make sure you're using the latest version of the software (NXT-G 2.0). Download it [here](https://www.lego.com/en-us/mindstorms/downloads/nxt-software-download).


---

