Why are you creating a primary key regardless of the key type I requrested?