fixed issue #3

This fixed issue #3.