letter replacement bug fix