bug fix in autoreg close group