Fix a typo bug in generating the service list.