fix data upload error