Remove array index warning

I hope this is now the right way for 1.8