revert the tanh fix