fixed 'uniqueLogKeys' being not global in the module