fix compiling characters