fix: some bugs.