Handle case where format_str is None