resolve issue with autorelease pools