fixed unique issue