corrected version code