correct paths in template