Fixed the reference issue.

Reinitialize the array so that other referencing vars aren't pointing
to the same object.