Nice catch, I'll assign it locally at the beginning of the loop.