an ugly hack to get gem to check groups smarter