fix drag issue