cleaned up a bug in services from the refactoring