fix tracking code