fixed compartment undo: update commandMove, undo move