fix #23

fix issue #23