fix issue #11

see #11