fix for #50

fix for #50