fix for frag handling

fix for frag handling