Fixes array not being initialized