Update version info, fix a minor bug.