replacing nil.to_s with ""