fixed useFragment support