fix for bug that happened due to new template path