fixed a lot of resizing shit