if you're holding a bot and attempt to reprogram a different bot you lose the bot you're holding but it stays above your head.
Which version are you using? I think that was fixed in version 4