bugfix error charset from cli