handle arrays that have been reassigned