index lines correction