corrects Bot time code