fix url of popup window