throttle body accelerator cabe came lose how do i connect it so it stays in on 1999 BMW 528i

keeps falling out slack in the cable or is there something that keeps the cable in place that broke off ofthe plastic attachment any pictues

Asked by for the 1999 BMW 528i