fixed bad variable quoting