remove group env, refactored group