delete duplicate key