fix resize popup