fixed trackDistance