fixes problem with spaces in ferret_getdata