use primary key autoincrement parameter to fix it.