solved problem with path of template