removing duplicated asserts