fixed issue with piping data to dot