and another fix for service stopping