Fix a bug: http status code error