remove unnessary array