Add check if i is undefined