fixed: version calculation.