generate form code again