exit on no flash