ensure version option is valid