fix alert syntax