fixed some errors in the HyPeerWebSegment class