Fix access destination
Fix orthogonal distance measurement