renamed dist state.