attempt to fix draggable bug