fixing extraction property out of array size of tokens