fixing bug with group/class