fixes issue #2