template dirs not confined right now fixed