another fix for getdata