more resizing fixes