xiu fu merge code