Fix the add_url_rule just registered once