compare statusCode as string