fix routes to work with hbs