fixed call to negamax