fix tracking crash