small optimization for the bot