Somewhere on the slam panel, there should be a small clamp that holds the outer sleeve from slipping, trace the cable back, and you should find it, it may just want the screw tightening, or the clamp is missing...
Your bonnet should shut by dropping it from about 10 inches or so, anything else, then there is a problem, or misalignment!
Thom