history url_prefix fix