better error treatment
put a correct default value for simplechoice