implemented a fix for issue #1, version bump

Fix for issue #1