debugging string parsing