fix errors on groups