fix bug: delete self