fix bug: error characters