fixed bug 1132
fixed bug 1131
format string in widgets.js