removed deprecated asserts