fix resize bug