Force correct template settings