fix for #199