fix #53, completed undo command for view