fixes issue #1