replace string: 8->7