added some defensive code to JottoModel