ID:139516
 
Solved!
You need to check if M exists before doing anything else.
Show where you're calling the Death()