fix the wallet not sync bugg