try to fix the failure of getting local objects for accessing data