cleaning up peermanager
cleaning up