duplicate value issue resolved