fix typo in createpublicversion