TextContent constructor didnt set fields