index images swaped