Fixes path to template