fixed drag bug