[rft] fix setting fragment bug after refactoring