1.5 fix promise bug