fix alert index