fix dup id issue