fix some drag bug