Fix validate->error->insert error