set new version, fix global leak