BUG: pre curl test for existence of data