implement set_sp2, set_sp3 for Fragment