fix error on reading the default font