fix some bugs in service package