bugfix file upload