fix for #170