ensure variables that may contain data with spaces are passed correctly