fixed some dragging stuff