add code to repro fragment bug