Fixed tedious strtok bug