better error message on missing version