fixed submission of piped jobs