Fix crash when version is called more than once.