possible fix for #267