Revert "fix dynamic groups"

This reverts commit 8d9ffa03a1fa5467aeb8ee07b2a0ed361dc982fb.
fix dynamic group loading

fixes #2170
references #1933