bug fixes relating to crashing due to invalid font names