fixed bug on bot