fix to make ProjectTemplate portable