Correcting bug on Undo Action
Correcting bug on deleting tmp files