ADded undoall & Clear
Fixed bug