fixed cmake character bug