fixed tracking script