fix for file uploader