trying to make httpget queryer more robust