fix typo in version-checking