fix form attachment download