fixed alert staying on all pages