fix resize thingie