undo some wrong changes