Fix "array or arguments object expected"