fixed some minimax compile errors, hopefully no logic change