fix 'C++ signature mismatch' bug
(#22)