Update src/cxtracker.c

Fixing issues 6 & 7