fix from FragmentFunction removal