Character stops when looking up or down

Heya there, so i made a fps character for my game and it works fine, but when i look up and down my character is unable to walk forward or backward, he can stil go right and left though.

This is my setup…

I have exactly the same problem!