fixed duplicated key