init comment and entity