Fix issue with UTF8 mall formed character when get classes -> Add error message