removing state.current