varius fixes for GPU checking