Why the form submission is displaying garbled text?