Fixed issue in formData handling