another update, fixing character substitution