task#5546 check a choice is valid or not before creating