fixed the problem that wrongly passes an assertion, which was written by mistake.