handle nil title