Fixing template paths.