fixed invalid character