This isn't a Shakespeare or MKStack issue. Those tools understand how to implement kind:30023. If you're tweaking code and making changes, over time AI can break things. This is the nature of AI tools as it tries to fix or do what you're trying to implement. If it's not working as expected, you simply tell the AI to fix it.
i.e You implemented the blogging feature of NIP-23 on my blog page incorrectly. Read NIP-23 and make changes to the code to match the specification.
You can also be more specific to what it's doing wrong.