fixing null error on department in escalation report