s_group > 1 bug fixed for adding s_group

Still need to fix removing s_group