emit-form: don't emit useless do