Fix error styling for errors with headers