fix for #165

fix for #165