fixing sloppy errors introduced with new strqtok