fix typo and schema