undo change that broke resizing