corrected version checker