alert won't show on reload