Fixed loading issue with Flashlight