Bug fix for case when there are no alert words