try to fix alert problem