orm fix create index