bug fix for #101