fix font
tweak some functions