[core][service]Fixed error on get service's name