fix for #140