split metadata and fix typo