Fixed botManager bug