fixed Resizing

fixed Resizing