resizing the window didn't work, fixed