remove deprecated asserts