remove unnecessary array list