fix fileupload in production