fixed shell escaping for sudo