fixes issue #204

fixes issue #204