Bugfix

In this commit I fixed bug what was preventing alerts from displaying