Fix a bug of report error policy.