fix to makeFragments