Fixed issue where no array existed yet