Fixed reference issue

All data was being added to a single line, because it shared
the reference to the same array