Assertion method fix