priv key import fix, C++ side wallet awareness fix