fixed bot's behaviours