fix in case "move" command is entered