handle the duplicate