fixed grep and reporter flags