fix deleted characters