Rails? Describe jammed please. Did you assemble the uppers or buy pre built?
Using standard lower parts? Hammer spring in the right place? Hows the bolt extractor spring? Invest in the ARs. It'll save you long term.
And Gary Willard does a great job on uppers. He's spoiled me from building my own.