fixing alert