fix resize issue cozed by new URL