Correcting indices