Repaired the version checker