bugfix for non-object access while fetching file map