add missing character to code string