Fix missing characters from input