inactive device error fix