Fix bot code compiler warnings