Bug: remove a service code and add a new service code (not modify) caused an null pointer exception
Bug: fixed bugs