patch to fix invalid array index exception

 
Attachments