fix routes in controllers