fix for #283