Check the data argument passed to Text() and Comment() constructors