Fixed error while creating AImap without player.