cirumvents dm-core issue #159