Fixed issue #1 reported in github issue tracker.