fixed duplicate letter bug