fixed statusCode error