warning for api