fixing path to the templates