fix special symbol bugs