fix bugs; font setting