Recoil Issues, PLEASE HELP!

I followed a tutorial on recoil and I came up with the picture below. However, I have a big issue, my character rotates to the X axis whenever I shoot. Any help would be appreciated.