fix minversion