fix service deletion