global scope is freed from callAIRI