emergency brake handle on 1994 BMW 318i

hi, my problem is the emergency handle won't stay up. I looked under the boot and it looks like the the metal clip won't grab the the teeth on the gear. What choices do ihave to fix this. my car ia 1994 bmw 318is 2door,5 speed thanks

Asked by for the 1994 BMW 318i
There is a certain metal tab which can be pushed back into place allowing the lock to engage the teeth (accessible from the top). This more applies to E39 but same era and similar system.

Otherwise the handbrake assemble is to be replaced.