test and fix for partial ungroup