corrected some of the value from the revert