fix an error in processForm with the new log fields