fixed extendig template path