fix `FORM_FILE` handling