also make sure nils aren't compacted out of arrays