correction in API