dupe logging fix