fix some bugs in letters