fix to service definition