Fix delete method for message