typo in version check