lang fix and division by zero error fixed in group model