add clear state for clear thing after re import other lib