fix html in form, add total.