avoid history resubmission if one is already in process
forgot to yeild the promise - fixingthe typo