fix statusCode