Default Can't get back to stock firmware on Galaxy S4?

I had sprints official 4.3. Then i rooted and had cyanogenmod 4.4.2. I wanna go back to stock so I downloaded 4.2.2 from galaxys4root.com and tried flashing through odin but it keeps failing. Someone please help me! it's driving me crazy