fix for #197