fix for #261