trying to fix the RestrictedData access problem