do not nullify primary key if invalid