fixed copy index for corners