FixFragments: fix bug