fix quoting issue with subprocess call