Did you just directly screw the boards to one another or to a supporting post within?
The first time I made some I had the same issue as I screwed the boards together. After that I constructed the walls with supporting posts internally at each end that has held pretty well. I don't know if I'm describing it well enough though!