fix track bug