corrected logical errors in FragmentedFramesExample