fixes issue #260