Fix routes and head