correct the way subprocess call