Fixes template path.