fix a big error on 'promise-liked' operation, it may call no error when error