fix dereplication always running