Fixed ArenaManager code