version parsing adjusted