add id to control groups