fix file uploader