Remove unnecessary array