fix change state component