Bug fixed with bracket. Some formatting of bot prediction and query update.