trying to fix dragging