fixed version calc issue