revert disabled clean function