fix for #157