fix typo that prevents compilation and fixes #18