basic cleanup for service