fixing url bug