fix form data bug