Fix widget.addPromise
Fix conflict