fix alert messages