fix remove service bug