fix 0/0 dragging bug