Fixing issue with form data responses