fix undefined variable ttfont