handle message deletion