fix drag method drag drop successfully