fix typo's in API, close #59