applied optimization to api call when implicitly use the default analysis