fix segfault when releasing a pipe inside a probe
fix overwrite mode