remove a couple of getattr()s with user input
Merge pull request #354 from eve-val/groups-tweaks

remove a couple of getattr()s with user input