fix bug on font size check