added asserts when modifying running operations