fix typo in prototype