fixes issue #103

fixed issue #103