fix fileshare creation and filupload bug