fix for #164