got rid of a few argmax warnings