fixed error with incorrect return type in services