add null check to addPlayerToArena and attempt to fix config