updated stile in popup and fix bugs in url