fix find-min-version
I did knot know it was fucked Ouch :)