Fixed one-char match, add error correction.