fix for batch alerts