fixed text rendering issue