remove redundant expr
added undo functionality