fix typos in batch registration example