fixes the support to a nested template folders