debug on drag