minor enchancement's on pipe protocol