hacks for the dragging