process metadata