fixed bug in distance parsing