Pull Request

this is a fix for issue #1