fixed another resizing issue