multicolumm group by temp check in
fixed racy errors.