Some performance corrections for bots