making corrections after issues with revert