revert softmax