fixed validation problem by addign choices before calling validate_on_submit