Exclude extra flag message in analysis function