fix redundant square bracket at end of cpuwidget