had to internalize dedup to be able to use it for master disconnect notification but it made it simpler too