temp fix for file upload