peer destroy fix