fixes issue #3