fixed bug in distance color indicator