simplify commitOnCompleteOperator