fixed bug in track id recognition