fix mining on captured device