bug fixes to alphaBeta agent)