fix wrong prime numbers