distance correction