Fix ASSERT adding bug