! bug fix : provider null when there is no available provider