Sometime the i key exists but the value is null or undefined. But now that i think about it. I hide the problem rather than fixing it. Since it should not happen.