rename function
avoid SIGPIPE.  thanks to @m1m0r1