changed alert init