fix for #569

fix for #569