substitute potential null values with empty strings