Fix assert adapter