corrected error grouping
fixed xml issue