fixed memory leak related to selection of font size