fix for #178