handle nil country in layout