fix condition writing form.