fixed renderText