fix window callback url