add formatting indices to support 2.6