hotfix for revert bug