add fallback values for error properties.