fix resize position