change write to pipe