fix issue #61

This issue was introduced by commit 58816d