fix issue #3

fix for compile error (please see #3).