Fixed a bug where alert was being created in the old style