fixed intended to be local but was actually global variable
when keys are expired an event will be emitted, which will contain a bunch of expired keys in a hash