off-by-1 error in the never-before-tested embedded string code