fixed autoindexes to start at 1