hook on project archivization
minor optimalization