Fixing Missing Path Variable in Templates