set states,prepare to fix drag bugs