quickly i acted , and with a little ruse and a little wit , as is common to us ghosts , i managed to switch the rope he was going to use with a defected one , so that when this man tried to hang himself from the fan , the rope snapped , and thus i was able to save his life .