fixed relative path for templates