this fixes issue #44