fix last minor version finding