fixes new routing, for frappe/frappe#600