fixed onComplete bug in nonstreaming loadModes
3.2.1