fixed typo, pixelIndex -> pixelsIndex