Fix for metadata template