fixed duplicate key