fixed silly error in minmax search