fixed up primes