fixes issue #33