fixes for creating groups