temp fix for the argmax 1 1 bug