distance fix