safeguard for display_errors=fail