remove exec won't work when piped