array cleanup.