fixed err on dividing an array by an array