Fixed a null pointer exception when the tracker is null