hopefully fix for dragging