fix control template