fixes issue #195