fix tag and drag