fix bug that is when user first access the website, it will display alert.