make groups work with Meteor's environment