fix track bugs.