Fix stupid array management thing