fixed bug in new font size changing function