fixed array handling on IE 8