wrap var in quotes in case of spaces