bug in pipe/send