fix declaration of routes in specs