fixed issue with response character encoding