made fixes to basic sanitation report to avoid crashing