fix typo in init