Revert set oflags