corrected alert class