fix for #149