memory isssue with group folding fixed