fix alert dialog