proper quoting of variables

avoid error if any of these variable have spaces