correct the signature in widget.html