revert partial func