fix getAddress for p2sh