Correct distances