fix show hide alert