Fix service definition