Untested fix for flashlight