fix for #229