fixing es api call constructors
fix provider input, blank for removal to wipe the provider case property