fixed call to getNextMove