using coalesce (??) operator for vars to fix index errors

Merge request reports

Loading