alert type corrected