fix service definition