Correctly managing process grousp