auto index set as true