format, modify all indexs to 1.