make sure resize ok