Fix checkversion