Fixing Metadata signature creation