fix bug with fonts and themes