fix resize.