fix instantiation of services in routes