fix error with multiple drag