control.js: fix ug(), change table to control