fix arena deallocation not in reverse order of allocation issue