some metadata fixups