fixes smart group issue, fixes #6957