fix text draw