Fix a error protection mistake