removing unused vars and fixing critical issue where the report returns no failures regardless of status