more fixes for bot