Fix: template file name instead of always advanced