text rendering bugs removal