Fix assert fail error