added missing asserts