tips: avoid recursive overflow with multiple template dirs (remove the hack as well)