bugfix: check for file upload field