Fixed a resizing issue

lllllllllllllllllllllllllllllllllllllllllllllllllllllll