anyway, I change indexes to a list. no more problem