fix import wrapping private key
fix bool mapping