fix templates paths