fix control.template