Fixing PrimaryKey column problem