Fix for version checking