warning if flash is not detected