fix alert confirm