In some cases, operation zipWithIndex get a wrong results