fixed to be compatible with Leaguebot