Are you sure you want to return null here and not String.Empty? Or better yet, not print it out if settings are null?