SDL not recognizing collisions

The only time it is stopping the character from going out of the screen is when it doesn't move from it's original x position it doesn't go left, and it doesn't let you shoot more then one time.
here is my code