fixed alert block bug