remove_dup will change go log_dup