fix choicefield problem.