add hasRawMessage for render and display method in view