improve alert system to not display before load