fixed character encoding error from validation