bug fix in widget.ejs