fixed group handling
added remove_peer method