fixed the version parser