1) fix: sortkey is null ptr.
2) fix: do not check existence after rename.
Merge branch 'master' of https://github.com/imwuzhh/repo1