handle nil content