fix popup window