better condition for alert if no sample