Fix Bugs for Error Message and Chart Labels