How to make character stop when facing the wall

Im not sure how your inputs are setup but I used this from Third Person on an FPS character. It functions but the concept is problematic because once you hit a wall your velocity then becomes along the wall and the trace doesnt hit the wall after that initial contact.

You could trace in 4 directions when moving this way you get the cross directions and atleast one trace should be hitting a wall when youre near it.