fix automatically data upload issue