fixed problem with reading from botVariable.txt