prevent generation when desired version cannot be found