Remove duplicated key (service.rb)