add: operation::flags
fix: change operation::flags states