optimize extension provider call