fixled refrenceline problem

fixled refrenceline problem
fix the refernceline and sync problem

fix  the refernceline and sync problem