change template factor