undo changes
fixed a little bug