Structure generating full of blocks?

I am trying to place an underground structure but it keeps generating with blocks in place of the air blocks, as if I had used structure voids. I'm not sure what I am doing wrong?
Continue to help post