fixed array cleaning