fixing config access in share class for archive purge