detach and reset services in solar energy