fixed rendering of CodeTextElement
removed console log