fix the url bug