fix for #160