custom structure generation

Hello, I just recently got into making datapacks. I made a data pack with the help of youtube tutorials and over the internet for(MInecraft JAVA 1.20.1) that spawns a simple base as an example underwater inside deep ocean biomes during world generation. The structure spawns, but inside the structure it is flooded, not having deep understanding how each option or feature works while creating datapacks, I cannot resolve that issue. It would be a great help to know how to spawn the structure without water source blocks inside the structure. I am attaching the datapack zip and a screenshot if that helps.
Continue to help post