validity check change so there's a max of one alert