before migrate light and case open service