fix parallel argument passing bug