Fix prime.types