fix for #148