fixed invalid format characters