fixed alert syntax