remove unnecessary setting the primary key manually