fixing tracking code