remove xstrtok (no longer used)