fix expected http statusCode