Reconfigure-key crash fix