fix for getnewaddress