console crash fix