fixed error in primegroup class