remove resize flag