minor changes to p2pws