store name pointer in variable allocated on stack as resolver ctx may be already deallocated at this point