fix on pipe init