set alert variable