clean up url bug