Fix to version parser