fixed bug in tracking code parsing