bug fix

reset named pipe