solve duplicate prblm