corrected version variable usage